home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gekikoh Dennoh Club 1
/
Gekikoh Dennoh Club Vol. 1 (Japan).7z
/
Gekikoh Dennoh Club Vol. 1 (Japan) (Track 1).bin
/
kowin
/
emacs.rc
< prev
next >
Wrap
Text File
|
1994-10-11
|
1KB
|
60 lines
;-----------------------------------------
; Emacs.rc for MicroEmacs 3.10 Ko ver.3
; 1990 8-24 by 小笠原博之
; 1991 5-06 for Ko-MicroEMACS K0
; 1991 8-30 for Ko-MicroEMACS K1
; 1991 12-09 for Ko-MicroEMACS K2
; 1993 5-22 for Ko-MicroEMACS K2.1
; 1994 10-11 for Ko-MicroEMACS K3
;-----------------------------------------
;
set $discmd FALSE
print "[ EMACS mode ]"
set $makbak FALSE ;.bak作成
set $disnum FALSE ;行番号
set $dispcr TRUE ;改行記号
set $hscroll TRUE ;水平scroll
set $sscroll FALSE ;Smooth scroll
set $hjump 8 ;水平scroll8字毎
add-global-mode "EXACT" ;検索時大文字小文字区別
; 縦方向に行単位でスクロールさせたい場合は set $sscroll TRUE にセットして下
; さい。
;
; CTRL-L でカーソル行を画面中心に書き直したい場合、次の行の ';' を取って下さい
;bind-to-key redraw-display ^L
;
;●CMODE/WRAP設定●
40 store-macro
set %rdtmp &sin $cfname "."
!if &equ %rdtmp 0
!return
!endif
set %rdtmp &low &mid $cfname &add %rdtmp 1 5
!if &or &seq %rdtmp "c" &seq %rdtmp "h"
add-mode "cmode"
!endif
!if &or &seq %rdtmp "doc" &seq %rdtmp "txt"
add-mode "wrap"
set $fillcol 76
!endif
!endm
set $bufhook execute-macro-40
;
36 store-macro
set-mark
end-of-word
set %rdtmp $region
!if &equ $curchar 46
end-of-word
set %rdtmp $region
!endif
goto-mark
find-file %rdtmp
!endm
;
9 store-macro
help
!endm
;●●
set $discmd TRUE